home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 7
/
CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso
/
• The Arcade •
/
Scarab of Ra •••••
/
Scarab of RA
/
Scarab of RA.rsrc
/
CODE_7.txt
< prev
next >
Wrap
Text File
|
1987-12-16
|
6KB
|
102 lines
# near model CODE resource
# jump table entries: 33561-33561 (1 of them)
export_99:
00000000 4E56 FFF8 link A6, -0x0008
00000004 3F3C 0001 move.w -[A7], 0x1
00000008 3F3C 0002 move.w -[A7], 0x2
0000000C 4EAD 008A jsr [A5 + 0x8A /* export_13 */]
00000010 588F addq.l A7, 4
00000012 0C40 0002 cmpi.w D0, 0x2
00000016 6710 beq +0x12 /* 00000028 */
00000018 4879 0000 0D8A push.l 0xD8A
0000001E 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
00000022 588F addq.l A7, 4
00000024 6000 0112 bra +0x114 /* 00000138 */
label00000028:
00000028 4879 0000 0DBA push.l 0xDBA
0000002E 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
00000032 588F addq.l A7, 4
00000034 7001 moveq.l D0, 0x01
00000036 3D40 FFFE move.w [A6 - 0x2], D0
0000003A 6000 00F2 bra +0xF4 /* 0000012E */
label0000003E:
0000003E 3D6D E7F4 FFFC move.w [A6 - 0x4], [A5 - 0x180C]
00000044 6000 00C8 bra +0xCA /* 0000010E */
label00000048:
00000048 3F2E FFFE move.w -[A7], [A6 - 0x2]
0000004C 3F2E FFFC move.w -[A7], [A6 - 0x4]
00000050 4EAD 03E2 jsr [A5 + 0x3E2 /* export_120 */]
00000054 588F addq.l A7, 4
00000056 3D40 FFFC move.w [A6 - 0x4], D0
0000005A 302E FFFC move.w D0, [A6 - 0x4]
0000005E 48C0 ext.l D0
00000060 E980 asl D0, 4
00000062 41ED 9B58 lea.l A0, [A5 - 0x64A8]
00000066 D1C0 add.l A0, D0
00000068 4879 0010 0000 push.l 0x100000
0000006E 2F28 0008 move.l -[A7], [A0 + 0x8]
00000072 4EAD 00A2 jsr [A5 + 0xA2 /* export_16 */]
00000076 508F addq.l A7, 8
00000078 2D40 FFF8 move.l [A6 - 0x8], D0
0000007C 4A80 tst.l D0
0000007E 6700 008E beq +0x90 /* 0000010E */
00000082 206E FFF8 movea.l A0, [A6 - 0x8]
00000086 0828 0007 0009 btst.b [A0 + 0x9], 0x7
0000008C 6600 0080 bne +0x82 /* 0000010E */
00000090 206E FFF8 movea.l A0, [A6 - 0x8]
00000094 0C28 0001 0006 cmpi.b [A0 + 0x6], 0x1
0000009A 6624 bne +0x26 /* 000000C0 */
0000009C 3F3C 0003 move.w -[A7], 0x3
000000A0 4EAD 0572 jsr [A5 + 0x572 /* export_170 */]
000000A4 548F addq.l A7, 2
000000A6 4A40 tst.w D0
000000A8 6616 bne +0x18 /* 000000C0 */
000000AA 206E FFF8 movea.l A0, [A6 - 0x8]
000000AE 08E8 0004 000B bset.b [A0 + 0xB], 0x4
000000B4 206E FFF8 movea.l A0, [A6 - 0x8]
000000B8 08E8 0005 000B bset.b [A0 + 0xB], 0x5
000000BE 604E bra +0x50 /* 0000010E */
label000000C0:
000000C0 206E FFF8 movea.l A0, [A6 - 0x8]
000000C4 4A28 0006 tst.b [A0 + 0x6]
000000C8 6644 bne +0x46 /* 0000010E */
000000CA 4879 0000 0DDE push.l 0xDDE
000000D0 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
000000D4 588F addq.l A7, 4
000000D6 3F3C 0001 move.w -[A7], 0x1
000000DA 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000000DE 486D 95DE pea.l [A5 - 0x6A22]
000000E2 4EAD 050A jsr [A5 + 0x50A /* export_157 */]
000000E6 4FEF 000A lea.l A7, [A7 + 0xA]
000000EA 4879 0000 0DF2 push.l 0xDF2
000000F0 4EAD 0502 jsr [A5 + 0x502 /* export_156 */]
000000F4 588F addq.l A7, 4
000000F6 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000000FA 4EAD 00FA jsr [A5 + 0xFA /* export_27 */]
000000FE 588F addq.l A7, 4
00000100 3F2D E7F6 move.w -[A7], [A5 - 0x180A]
00000104 3F2D E7F4 move.w -[A7], [A5 - 0x180C]
00000108 4EAD 00D2 jsr [A5 + 0xD2 /* export_22 */]
0000010C 588F addq.l A7, 4
label0000010E:
0000010E 302E FFFC move.w D0, [A6 - 0x4]
00000112 48C0 ext.l D0
00000114 E980 asl D0, 4
00000116 41ED 9B58 lea.l A0, [A5 - 0x64A8]
0000011A D1C0 add.l A0, D0
0000011C 326E FFFE movea.w A1, [A6 - 0x2]
00000120 2009 move.l D0, A1
00000122 C090 and.l D0, [A0]
00000124 4A80 tst.l D0
00000126 6600 FF20 bne -0xDE /* 00000048 */
0000012A E3EE FFFE lsl .w [A6 - 0x2]
label0000012E:
0000012E 0C6E 0008 FFFE cmpi.w [A6 - 0x2], 0x8
00000134 6300 FF08 bls -0xF6 /* 0000003E */
label00000138:
00000138 4E5E unlink A6
0000013A 4E75 rts
0000013C 4255 clr.w [A5]
0000013E 4C4C 5748 movem.l D3,D6,A0,A1,A2,A4,A6, A4
00000142 4950 chk.w D4, [A0]